package com.qhs.sys.service;

import com.qhs.sys.entity.DictInfo;
import org.springframework.transaction.annotation.Isolation;
import org.springframework.transaction.annotation.Propagation;
import org.springframework.transaction.annotation.Transactional;

import java.util.List;

/**
 * Created by Administrator on 2016/11/9 0009.
 */
public interface DictInfoService {
    @Transactional(isolation = Isolation.DEFAULT, propagation = Propagation.REQUIRED)
    public int deleteByPrimaryKey(Long id);

    @Transactional(isolation = Isolation.DEFAULT, propagation = Propagation.REQUIRED)
    public int insert(DictInfo record);

    @Transactional(isolation = Isolation.DEFAULT, propagation = Propagation.REQUIRED)
    public int insertSelective(DictInfo record);

    public DictInfo selectByPrimaryKey(Long id);

    @Transactional(isolation = Isolation.DEFAULT, propagation = Propagation.REQUIRED)
    public int updateByPrimaryKeySelective(DictInfo record);

    @Transactional(isolation = Isolation.DEFAULT, propagation = Propagation.REQUIRED)
    public int updateByPrimaryKey(DictInfo record);

    public List<DictInfo> findDictInfoList(DictInfo dictInfo);
}
